import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
import {backRoutes} from './back.routes';

import {BackComponent} from './back.component';
import {LoginComponent} from './login/login.component';
import {DashboardComponent} from './dashboard/dashboard.component';
import { ArticleComponent } from './article/article.component';

import {SharedModule} from '../shared.module';
import { EditArticleComponent } from './edit-article/edit-article.component';
@NgModule({
    imports: [
        SharedModule,
        CommonModule,
        FormsModule,
        RouterModule.forChild(backRoutes)
    ],
    declarations: [
      BackComponent,
      LoginComponent,
      DashboardComponent,
      ArticleComponent,
      EditArticleComponent
    ],
    providers: []
})
export class BackModule {
}
